﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ScannerNS.Classes;

namespace ScannerNS
{
    class Program
    {
        static void Main(string[] args)
        {
          //  FileReader fr = new FileReader();
            //  fr.readFile(@"C:\Users\TanevPC\Documents\Visual Studio 2012\Projects\CMMI2\CMMI\Scanner\Resources\TestFile.txt");

            Scanner sc = new Scanner(@"C:\Users\TanevPC\Documents\Visual Studio 2012\Projects\CMMI2\CMMI\Scanner\Resources\TestFile.txt");

            while (sc.HasNext())
            {
                Console.WriteLine(sc.Scan());
            }
            Console.ReadKey();
        }
    }
}
